var app = angular.module('shopApp' , ['ngRoute']);

app.config(['$routeProvider', function($routeProvider){
	$routeProvider
		.when('/goods', {templateUrl: 'views/goods.html', controller: 'goodsController'})
		.when('/classify', {templateUrl: 'views/classify.html', controller: 'classifyController'})
		.when('/users', {templateUrl: 'views/users.html', controller: 'usersController'})
		.when('/order', {templateUrl: 'views/order.html', controller: 'orderController'})
		.when('/evaluate', {templateUrl: 'views/evaluate.html', controller: 'evaluateController'})
		.when('/log_reg', {templateUrl: 'views/Login_Reg.html', controller: 'loginregController'})
		.otherwise({redirectTo: '/goods'});
}]);


app.controller('shopController' , function(){
	
});